package com.ibeeking.found.cop.service.common.constants;

/**
 * @ClassName RedisKeyConstant
 * @Description
 * @Author ibeeking
 * @Date 2020-12-01 19:02
 **/
public class RedisKeyConstant {
    /**
     * 模块
     */
    public static final String EMPLOYEE_PREFIX = "EMPLOYEE:";

    /**
     * 模块
     */
    public static final String MODULE = "CP:";

    /**
     * 30天
     */
    public static final long MONTH = 10125 << 8L;
    /**
     * 1天
     */
    public static final long DAY = 675 << 7L;
    /**
     * 半天
     */
    public static final long HALF_DAY = 675 << 6L;
    /**
     * 1小时
     */
    public static final long HOUR = 225 << 4L;


    public static final String QR_CODE = "EMPLOYEE:QR_CODE:";

    /**
     * 素材
     */
    public static final String CP_SOURCE = MODULE + "CP_SOURCE:";

    public static final String WX_OPEN_CONFIG_KEY = "wx:open:config:";

    public static final String WX_OPEN_AUTH_KEY = "wx:open:auth:";

    public static final String WX_CP_TP_SUITE_TICKET = "wx:cp:tp:suite_ticket:";

    public static final String WX_CP_TP_SUITE_ACCESS_TOKEN = "wx:cp:tp:suite_access_token:";

    public static final String WX_CP_TP_PERMANENT_CODE = "wx:cp:tp:permanent_code:";

    public static final String WX_CP_TP_CORP_ACCESS = "wx:cp:tp:corp_access_token:";

    public static final String WX_CP_DK_SUITE_TICKET = "wx:cp:dk:suite_ticket:";

    public static final String WX_CP_DK_SUITE_ACCESS_TOKEN = "wx:cp:dk:suite_access_token:";

    public static final String WX_CP_DK_PROVIDER_ACCESS_TOKEN = "wx:cp:dk:provider_access_token:";

    public static final String WX_CP_DK_PERMANENT_CODE = "wx:cp:dk:permanent_code:";

    public static final String WX_CP_DK_CORP_ACCESS = "wx:cp:dk:corp_access_token:";

    public static final String WX_CP_DATA_TALK_SEQ = "wx:cp:data:seq:";

}
